{{include template('public/header','admin')}}
<body>
    <div id="page-wrapper">
        <div class="row">
            <div class="col-lg-12">
                <table class="table table-condensed table-hover table-striped tablesorter table-fixed table-selectable">
                    <thead>
                        <tr class="text-c">
                            <th>文件名称</th>
                            <th>文件大小</th>
                            <th>备份时间</th>
                            <th>卷号</th>
                            <th>操作</th>
                        </tr>
                    </thead>
                    <tbody>
                        {{foreach $items as $item}}
                        <tr>
                            <td >{{$item.filename}}</td>
                            <td >{{$item.filesize}}</td>
                            <td >{{$item.backtime}}</td>
                            <td >{{$item.part}}</td>
                            <td>
                                <a href="/admin/database/import/?random={{$item.random}}&time={{$item.time}}" class="btn btn-success radius">还原</a>
                                <a href="/admin/database/databackdown/?filename={{$item.filename}}&random={{$item.random}}&time={{$item.time}}&part={{$item.part}}" class="btn btn-primary radius">下载</a>
                                <a href="/admin/database/databackdel/?filename={{$item.filename}}&random={{$item.random}}&time={{$item.time}}" class="btn btn-warning radius">删除</a>
                            </td>
                        </tr>
                        {{/foreach}}
                    </tbody>

                </table>
            </div>
        </div>
    </div>
</body>
</html>

